﻿using MediatR;
using Traceability.Domain.DTO.Output;
using Traceability.ErrorCode;

namespace Traceability.API.Applications.Command.TracebackCommand
{
    public class TracebackQueryCommand:IRequest<APIPaging<TracebackQueryDTO>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex  { get; set; }
        
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize  { get; set; }


        public int? CreateUserId { get; set; }
        public DateTime? CreateTime { get; set; }

        public int? UpDataUserId { get; set; }
        public DateTime? UpDataTime { get; set; }


        /// <summary>
        /// 商品名称
        /// </summary>
        public string? SName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }

        /// <summary>
        /// 保质期（天)
        /// </summary>
        public int? Expiration_date { get; set; }

        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? Production_License { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Manufacturing_Enterprises { get; set; }

    }
}
